package cn.com.api.mapper;

import java.util.Map;

import org.apache.ibatis.annotations.Param;

import cn.com.api.entity.ApiU_follow;
import cn.com.api.mapper.base.U_followMapperBase;

//DAO
public interface ApiU_followMapper extends U_followMapperBase {

	public void deleteU_followByMap(@Param("map") Map param);

	public Integer getFollowCount(@Param("map") Map param);

	// public List<ApiU_follow> getArticleFollowListPage(@Param("map") Map
	// param, @Param("page") PageInfo page);

	public ApiU_follow getFollowByCondition(@Param(value = "userId") String userId,
			@Param(value = "entId") String entId);

	public ApiU_follow getIsFollow(@Param(value = "user_id") String userId, @Param(value = "conn_id") String conn_id,
			@Param(value = "type") Integer type);

	public int getFollowIsSub(@Param("map") Map<String, Object> param);
}
